package com.cinema.dao;

import com.cinema.entity.Ordering;
import com.cinema.entity.User;

import java.util.List;

public interface OrderDao {
    //插入订单信息
    int insertOrder(Ordering order);
    //通过用户id查询订单信息
    List<Ordering> selectOrder(int userId);

    //通过filmId、seatId删除信息
    int deleteOrder(int userId);
}
